package com.tencent.system.mapper;


import com.tencent.system.domain.SystemDictionaryDetail;
import com.tencent.system.query.SystemDictionaryDetailQuery;
import java.util.List;

public interface SystemDictionaryDetailMapper {
  /**
   * Mapper: 查询所有
   * @return
   */
  List<SystemDictionaryDetail> findAll();

  /**
   * Mapper: 查询单个
   * @return
   */
  SystemDictionaryDetail findById(Long id);

  /**
   * Mapper: 删除
   * @param id
   */
  void delete(Long id);

  /**
   * Mapper: 添加
   * @param systemDictionaryDetail
   */
  void save(SystemDictionaryDetail systemDictionaryDetail);

  /**
   * Mapper: 修改
   * @param systemDictionaryDetail
   */
  void update(SystemDictionaryDetail systemDictionaryDetail);

  /**
   * Mapper: 查询总条数 - 分页查询 + 高级查询
   * @param query
   * @return
   */
  Long queryCount(SystemDictionaryDetailQuery query);

  /**
   * Mapper: 查询分页数据 + 高级查询数据
   * @param query
   * @return
   */
  List<SystemDictionaryDetail> queryData(SystemDictionaryDetailQuery query);

    void patchDelete(Long[] ids);

  List<SystemDictionaryDetail> findByTypeId(Long id);
}
